package cn.koala.key.complaint.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 客诉列表查询
 *
 * @author 38752
 */
public class ComplaintSearchDTO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("投诉单号")
    private String orderNo;

    @ApiModelProperty("维修单号")
    private String repairOrderNo;

    @ApiModelProperty("城市id")
    private Integer cityId;

    @ApiModelProperty("城市名称")
    private String cityName;

    @ApiModelProperty("门店id")
    @JSONField(name = "shopId")
    private Integer storeId;

    @ApiModelProperty("门店名称")
    @JSONField(name = "shopName")
    private String storeName;

    @ApiModelProperty("维修车牌号")
    private String carNo;

    @ApiModelProperty("来源渠道")
    @JSONField(name = "sourceId")
    private Integer source;

    @ApiModelProperty("投诉分类")
    @JSONField(name="sortId")
    private Integer sort;

    @ApiModelProperty("创建日期")
    @JSONField(name="createTimeStart")
    private Date complaintDate;

    @ApiModelProperty("关闭日期")
    @JSONField(name="createTimeEnd")
    private Date closeDate;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("是否有效")
    @JSONField(name="valid")
    private Integer isValid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getComplaintDate() {
        return complaintDate;
    }

    public void setComplaintDate(Date complaintDate) {
        this.complaintDate = complaintDate;
    }

    public Date getCloseDate() {
        return closeDate;
    }

    public void setCloseDate(Date closeDate) {
        this.closeDate = closeDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }


    public String getRepairOrderNo() {
        return repairOrderNo;
    }

    public void setRepairOrderNo(String repairOrderNo) {
        this.repairOrderNo = repairOrderNo;
    }

    @Override
    public String toString() {
        return "ComplaintSearchDTO{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", repairOrderNo='" + repairOrderNo + '\'' +
                ", cityId=" + cityId +
                ", cityName='" + cityName + '\'' +
                ", storeId=" + storeId +
                ", storeName='" + storeName + '\'' +
                ", carNo='" + carNo + '\'' +
                ", source=" + source +
                ", sort=" + sort +
                ", complaintDate=" + complaintDate +
                ", closeDate=" + closeDate +
                ", status=" + status +
                ", isValid=" + isValid +
                '}';
    }
}
